/**
 * 
 */
package com.husky.powerbugz.service.impl;

import java.util.Map;

import com.husky.powerbugz.PageInfo;
import com.husky.powerbugz.dao.BugDao;
import com.husky.powerbugz.service.BugService;

/**
 *
 *
 * @author cathy0048
 * @date 2012-10-18
 */
public class BugServiceImpl implements BugService {
	
	private BugDao bugDao;

	public void setBugDao(BugDao bugDao) {
		this.bugDao = bugDao;
	}

	@Override
	public PageInfo getPageInfo(Map<String, Object> paramMap,
			int currentPage, int perPage) {
		PageInfo pageInfo = new PageInfo();
		pageInfo.setItems(bugDao.getList(null));
		return pageInfo;
	}

}
